import request from '@/utils/request'

//拼团详情
export function groupDetail(query) {
  return request({
    url:'/com.mmk.groupservice.api.AdminGroupGroupProvider/1.0.0/getGroupDetailsByGroupId.html',
    method:'post',
    data:query
  })
}

//拼团规则设置
export function groupSetting(query) {
  return request({
    url:'/com.mmk.groupservice.api.AdminGroupSettingProvider/1.0.0/saveGroupSetting.html',
    method:'post',
    data:query
  })
}

//获取拼团规则
export function getGroup(query) {
  return request({
    url:'/com.mmk.groupservice.api.AdminGroupSettingProvider/1.0.0/getGroupSetting.html',
    method:'post',
    data:query
  })
}

//获取拼团列表
export function getGroupList(query) {
  return request({
    url:'/com.mmk.groupservice.api.AdminGroupGroupProvider/1.0.0/getGroupList.html',
    method:'post',
    data:query
  })
}
